Plugin updates, change file permissions on WordPress

PROBLEM FOUND:

So the problem was in a separate config file. The websites were migrated from another hosting and that hosting had a separate config file which was required in the wp-config.php . I the other config file I found this settings:

define( 'FS_CHMOD_DIR', ( 0755 & ~ umask() ) );
define( 'FS_CHMOD_FILE', ( 0644 & ~ umask() ) );

I remove this 2 lines from config file, and everythig works fine !