added translations for update massage
fixed type and added a test