Update Update_function

clear screen method is added