Added varriables to check_memory
Add ussage and options to check_update