fixing automatic update