updating from the server becauase it wasnt working properly