added update func for conv and fc